#ifndef SYSINITDB_H
#define SYSINITDB_H

#include <QObject>
#include "cnsComponent.h"
#include <dbquerybasethread.h>
#include <uv.h>

class SysInitDb : public QObject
{
    Q_OBJECT
public:
    Q_INVOKABLE SysInitDb();
    Q_INVOKABLE void f_start(CnsComponentPtr com);
    DbQueryBaseThreadPtr newQueriesThread(CnsComponentPtr com, QVariantHash& sv);
    Q_INVOKABLE void run_b(CnsComponentPtr com, uv_loop_t *loop);
};

Q_DECLARE_METATYPE(SysInitDb*)

#endif // SYSINITDB_H
